﻿// Bảo Ngọc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Web.Services;

namespace ChiaSeThongTinWebService.Interface
{
    [ServiceContract]
    public interface ILike
    {
        [WebMethod]
        LIKE_PC[] GetLikePC(string ID_post);

        [WebMethod]
        long GetNumberLikePC(string ID_post);

        [WebMethod]
        LIKE_PC[] GetMyLikes(string ID_host);

        [WebMethod]
        decimal? GetNumberLikes(string ID_host);

        //[WebMethod]
        //bool AddLikePost(LIKE_PC likepost);
      
        //[WebMethod]
        //bool AddLikeComment(LIKE_PC likepost);
        [WebMethod]
        bool AddLike(LIKE_PC likepost); 

        [WebMethod]
        bool DeleteLike(string ID);

    }
}
